Skip to content

Fix macOS frame-locked playback and queued input - #1

Closed
EthanRStokes wants to merge 3 commits into
masterfrom
codex/macos-parity
Closed

EthanRStokes wants to merge 3 commits into
masterfrom
codex/macos-parity

Conversation

@EthanRStokes

@EthanRStokes EthanRStokes commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

macOS playback armed successfully but never advanced because the game inlines processCommands; a fresh import died at 1.36% with playback still at step zero. Advance playback and recording at the called Mac processQueuedButtons boundary while retaining the existing boundary on other platforms.

Queued playback also rejected its own clicks after the enqueue callback returned. Track command ownership through consumption, filter foreign queue entries, and preserve playback scope while the game applies those commands.

Includes the existing macOS development setup, updated to link the current sibling Blockwork engine, plus a native Steam-launched test runner. Every attempt imports the GDR again and verifies the fresh macro identity and game completion. The runner backs up/restores settings and game saves, enables QOL safe mode, disables noclip, and keeps logs/results. CI and the release workflow now build a pinned FFI library before linking the mod (universal on macOS).

Validation:

  • Fresh import of the specified GDR completed local Bloodbath Infinity 2 at normal speed.
  • Direct playback: 20/20 fresh-import completions at QOL 10x, no host-clock timeout warnings.
  • All 724 input events and positions through the final recorded input match between normal speed, 10x direct playback, and 10x queued playback.
  • Queued playback with click-between-steps and an injected foreign press passed 20/20 fresh-import 10x attempts, plus the final normal-speed run and a 3/3 universal-package smoke batch.
  • The installed universal mod links both arm64 and x86_64 with a macOS 11.0 floor and no mixed-target warnings; its native Apple Silicon runtime smoke tests pass. GitHub rejected private-repository CI jobs before startup because account billing/spending limits block execution; Windows checks are not claimed as run.

See docs/macos-parity.md and scripts/autotest-macos.py for evidence and reproduction. A finite successful batch is not a guarantee under all future hardware/mod combinations.

@EthanRStokes
EthanRStokes deleted the codex/macos-parity branch October 25, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant